package com.domor.xxx.framework.config;

import org.springframework.context.annotation.Bean;
import org.springframework.web.socket.server.standard.ServerEndpointExporter;

/**
 * <h3>开启WebSocket支持</h3>
 * @author liyuyang
 * @date 2020/5/21
 */
//@Configuration
public class WebSocketConfig {  
	
    @Bean  
    public ServerEndpointExporter serverEndpointExporter() {  
        return new ServerEndpointExporter();  
    }  
  
} 
